<template>
  <div class="page-header">
    <!-- <p class="title">{{ props.title }}</p> -->

    <div class="btns">
      <slot name="btns" />
    </div>

    <slot name="search" />
  </div>
</template>

<script lang="ts" setup>
const props = defineProps({
  title: {
    type: String,
    default: 'Title',
  },
});
</script>

<style lang="scss" scoped>
.page-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
  .title {
    font-size: 16px;
    font-weight: 500;
    color: #282a2e;
  }
  .btns {
    display: flex;
    align-items: center;
  }
  
}
</style>
